var infoForm;

function initDeviceInfo() {
	formData = [ { type:'settings' , labelWidth:80, inputWidth:250, position:'absolute' },
	 			 { type:'label', name:'productLabel', label:'Product : ', width:125, labelWidth:125, labelAlign:'left', labelLeft:40, labelTop:25  },
	 			 { type:'label', name:'serialLabel', label:'Serial Number : ', width:125, labelWidth:125, labelAlign:'left', labelLeft:40, labelTop:55  },
	 			 { type:'label', name:'activationCodeLabel', label:'Activation Code : ', width:125, labelWidth:125, labelAlign:'left', labelLeft:40, labelTop:85  },
	 			 { type:'label', name:'product', labelAlign:'left', labelWidth:150, labelLeft:180, labelTop:25  },
	 			 { type:'label', name:'serialNumber', labelAlign:'left', labelWidth:150, labelLeft:180, labelTop:55  },
	 			 { type:'label', name:'activationCode', labelAlign:'left', labelWidth:150, labelLeft:180, labelTop:85  } ];
	infoForm = right_info_layout.attachForm(formData);
}

function setInfoFormValue(product, seNum, actiCode) {
	infoForm.setItemLabel('product', product);
	infoForm.setItemLabel('serialNumber', seNum);
	infoForm.setItemLabel('activationCode', actiCode);
}